package itsos.dao;


import java.util.List;

import org.springframework.orm.ibatis.support.*;
import itsos.model.*;



public class IssueHistoryDao extends SqlMapClientDaoSupport {
	
	public List getIssueHistoryByIssueID(long issueID)
	{
		return getSqlMapClientTemplate().queryForList("IssueHistory.getIssueHistoryByIssueID", issueID);
	}
 
	public void insertIssueHistory(Issue issue)
	{
		getSqlMapClientTemplate().insert("IssueHistory.insertIssueHistory", issue);
	}
	
}
